package cn.itcast.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.itcast.pojo.User;

public interface UserMapper {
	User queryUserById(@Param("id")Long id);
	int addUser(User user);
	Long queryUserCount();
	List<User> queryUserList();
	List<User> queryUserPage(@Param("firstPage")int firstPage, @Param("pageNum")int pageNum);
	int deleteUserById(@Param("ids")Long[] ids);
	Integer editUser(User user);
}
